package string;

public class ReplaceAllDemo {
    public static void main(String[] args) {
        String line = "qwdasf4g64h54664gf21689dfgsd";
        line = line.replaceAll("[0-9]+","#NUMBER");
        System.out.println(line);
    }
}
